package com.prik.singleton;

/**
 * 枚举实现单例
 **/
public enum EasySingleton {
    /**
     * 实例
     */
    INSTANCE;

    public void doSomething(){

    }


    public static void main(String[] args) {

        EasySingleton.INSTANCE.doSomething();

    }
}

